package com.lagou.edu.dao;

import com.lagou.edu.pojo.LagouAuthCode;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @author: jie.zhao
 * @create: 2021/07/27 14:07
 */
public interface LagouAuthCodeDao extends JpaRepository<LagouAuthCode,Integer> {


    LagouAuthCode findByEmailAndCode(String email, String code);
}
